
import { get, post ,deletes, put} from './http'
// 获取 供应商  list
export const getList = (params) => get(`/suppliers/`,params)

export const getInfo = (id) => get(`/suppliers/`+id)

export const deleteSupplier = (id) => deletes(`/suppliers/`+id)

export const addSupplier = (params) => post(`/suppliers/`, params)

export const editSupplier = (id,params) => put(`/suppliers/`+id,params)

